package com.huang.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.huang.entity.PetBlog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PetBlogMapper extends BaseMapper<PetBlog> {
    IPage<String> selectMyPetBlog(IPage<PetBlog> page);
    List<PetBlog> querryAll();
    PetBlog querryById(Integer id);
    int insertPetBlog(PetBlog petBlog);
}
